import request from '@/utils/request'

//登录
export const Login = data => request.post('/api/user-service/user/login', data)

//获取工单

// export const gong = data => request.get(`/api/task-service/task/taskReportInfo/${data.start.split(" ")[0]}/${data.end.split(" ")[0]}`)
export const taskReportInfo = data => {
  return request.get(`/api/task-service/task/taskReportInfo/${data.start}/${data.end}`)
} 